﻿using MODEL;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ADSystem
{
    public partial class ProductInfo : Form
    {
        public ProductInfo()
        {
            InitializeComponent();
        }

        private void btnEAN_Click(object sender, EventArgs e)
        {
            List<Product> list = SysController.ProductController.GetProduct();
            foreach (var item in list)
            {
                string ean= SysCommon.EAN.GetEAN13("691" + txtNumber.Text.Trim() + item.ProductID.ToString("D6"));

            }
        }
         
      
    }
}
